package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IBlogService extends IService<Blog> {

    public Result queryHotBlog(Integer current);

    public Result queryBlogById(Long id);

    public Result likeBlog(Long id);

    Result likesBlog(Long id);

    String saveBlog(Blog blog);

    Result queryBlogOfFollow(Long max, Integer offset);
}
